package com.tpp.baseConsumer.service.impl;

import com.tpp.baseConsumer.mapper.AreaMapper;
import com.tpp.baseConsumer.service.AreaService;
import com.tpp.comm.pojo.TpArea;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AreaServiceImpl implements AreaService {

    @Resource
    private AreaMapper areaMapper;

    public List<TpArea> queryCityList(){
        List<TpArea> tpAreas = areaMapper.selectList(null);
        return tpAreas;
    }

}
